package com.lmk.ms.common.dto.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 用户登录参数
 *
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2022/02/15
 */
@Data
@Schema(description = "用户登录参数")
public class PasswordLoginParameter extends PlainPasswordLoginParameter {
    @NotNull(message = "密钥ID不可以为空")
    @NotBlank(message = "密钥ID不可以为空")
    @Schema(description = "密钥ID")
    protected String keyId;

}
